package com.bzkj.document.domain.purchaseinorder.vo;

import com.alibaba.fastjson2.annotation.JSONField;
import com.bzkj.document.domain.BaseInfoMap;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;

import java.util.Date;

/**
 * @projectName: prt-wms
 * @package: com.bzkj.document.domain.purchaseinorder.vo
 * @className: PurchaseInboundBaseData
 * @description: 采购入库单基础数据
 * @author: C1309
 * @createDate: 2024年12月19日
 * @version: v1.0
 */
public class PurchaseInboundHeadVO {
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date wmsTime; // wms入库时间
    private String cgeneralhid; // 通用单据编号
    private String vbillcode; // 单据编码
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date dmakedate; // 制单日期
    private String ctrantypeid; // 交易类型ID
    private String fbillflag; // 单据标志
    private String vtrantypecode; // 交易类型编码
    private String fbuysellflag; // 买卖标志
    private String freplenishflag; // 补货标志
    private Double ntotalnum; // 总数量
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date creationtime;// 创建时间
    @JsonProperty("modifiedtime")
    @JSONField(name = "modifiedtime", format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date modifiedTime; // 修改时间
    private String vsourcebillcode; // 来源单据编码
    private String vdef5; // 备用字段
    private String billsFlag; // 单据标志（状态）
    private String billsState; // 单据状态
    private String vdef49; // 备用字段49
    private String vdef50; // 备用字段50
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date dbilldate; // 单据日期
    private Double ntotalpiece; // 总件数
    private String createBy; // 创建人
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime; // 创建时间
    private String updateBy;// 修改人
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;//修改时间
    private Integer isCross;// 是否越库
    private String signatory;//签字人
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private String signatoryTime;//签字时间

    private String vbcdef2;
    private String vbcdef3;

    private String deleteReason;

    @JsonProperty("creator")
    @JSONField(name = "creator")
    BaseInfoMap creator;

    @JsonProperty("modifier")
    @JSONField(name = "modifier")
    BaseInfoMap modifier;

    @JsonProperty("cfanaceorgvid")
    @JSONField(name = "cfanaceorgvid")
    BaseInfoMap cfanaceorgvid;

    @JsonProperty("cvendorid")
    @JSONField(name = "cvendorid")
    BaseInfoMap cvendorid;

    @JsonProperty("cdptid")
    @JSONField(name = "cdptid")
    BaseInfoMap cdptid;

    @JsonProperty("cbizid")
    @JSONField(name = "cbizid")
    BaseInfoMap cbizid;

    @JsonProperty("corpoid")
    @JSONField(name = "corpoid")
    BaseInfoMap corpoid;

    @JsonProperty("billmaker")
    @JSONField(name = "billmaker")
    BaseInfoMap billmaker;

    @JsonProperty("cpurorgoid")
    @JSONField(name = "cpurorgoid")
    BaseInfoMap cpurorgoid;

    @JsonProperty("cpurorgvid")
    @JSONField(name = "cpurorgvid")
    BaseInfoMap cpurorgvid;

    @JsonProperty("cwarehouseid")
    @JSONField(name = "cwarehouseid")
    BaseInfoMap cwarehouseid;

    @JsonProperty("cwhsmanagerid")
    @JSONField(name = "cwhsmanagerid")
    BaseInfoMap cwhsmanagerid;

    // Getter and Setter methods

    public Date getWmsTime() {
        return wmsTime;
    }

    public void setWmsTime(Date wmsTime) {
        this.wmsTime = wmsTime;
    }

    public String getCgeneralhid() {
        return cgeneralhid;
    }

    public void setCgeneralhid(String cgeneralhid) {
        this.cgeneralhid = cgeneralhid;
    }

    public String getVbillcode() {
        return vbillcode;
    }

    public void setVbillcode(String vbillcode) {
        this.vbillcode = vbillcode;
    }

    public Date getDmakedate() {
        return dmakedate;
    }

    public void setDmakedate(Date dmakedate) {
        this.dmakedate = dmakedate;
    }

    public String getCtrantypeid() {
        return ctrantypeid;
    }

    public void setCtrantypeid(String ctrantypeid) {
        this.ctrantypeid = ctrantypeid;
    }

    public String getFbillflag() {
        return fbillflag;
    }

    public void setFbillflag(String fbillflag) {
        this.fbillflag = fbillflag;
    }

    public String getVtrantypecode() {
        return vtrantypecode;
    }

    public void setVtrantypecode(String vtrantypecode) {
        this.vtrantypecode = vtrantypecode;
    }

    public String getFbuysellflag() {
        return fbuysellflag;
    }

    public void setFbuysellflag(String fbuysellflag) {
        this.fbuysellflag = fbuysellflag;
    }

    public String getFreplenishflag() {
        return freplenishflag;
    }

    public void setFreplenishflag(String freplenishflag) {
        this.freplenishflag = freplenishflag;
    }

    public Double getNtotalnum() {
        return ntotalnum;
    }

    public void setNtotalnum(Double ntotalnum) {
        this.ntotalnum = ntotalnum;
    }

    public Date getCreationtime() {
        return creationtime;
    }

    public void setCreationtime(Date creationtime) {
        this.creationtime = creationtime;
    }

    public Date getModifiedTime() {
        return modifiedTime;
    }

    public void setModifiedTime(Date modifiedTime) {
        this.modifiedTime = modifiedTime;
    }

    public String getVsourcebillcode() {
        return vsourcebillcode;
    }

    public void setVsourcebillcode(String vsourcebillcode) {
        this.vsourcebillcode = vsourcebillcode;
    }

    public String getVdef5() {
        return vdef5;
    }

    public void setVdef5(String vdef5) {
        this.vdef5 = vdef5;
    }

    public String getBillsFlag() {
        return billsFlag;
    }

    public void setBillsFlag(String billsFlag) {
        this.billsFlag = billsFlag;
    }

    public String getBillsState() {
        return billsState;
    }

    public void setBillsState(String billsState) {
        this.billsState = billsState;
    }

    public String getVdef49() {
        return vdef49;
    }

    public void setVdef49(String vdef49) {
        this.vdef49 = vdef49;
    }

    public String getVdef50() {
        return vdef50;
    }

    public void setVdef50(String vdef50) {
        this.vdef50 = vdef50;
    }

    public Date getDbilldate() {
        return dbilldate;
    }

    public void setDbilldate(Date dbilldate) {
        this.dbilldate = dbilldate;
    }

    public Double getNtotalpiece() {
        return ntotalpiece;
    }

    public void setNtotalpiece(Double ntotalpiece) {
        this.ntotalpiece = ntotalpiece;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public BaseInfoMap getCreator() {
        return creator;
    }

    public void setCreator(BaseInfoMap creator) {
        this.creator = creator;
    }

    public BaseInfoMap getModifier() {
        return modifier;
    }

    public void setModifier(BaseInfoMap modifier) {
        this.modifier = modifier;
    }

    public BaseInfoMap getCfanaceorgvid() {
        return cfanaceorgvid;
    }

    public void setCfanaceorgvid(BaseInfoMap cfanaceorgvid) {
        this.cfanaceorgvid = cfanaceorgvid;
    }

    public BaseInfoMap getCvendorid() {
        return cvendorid;
    }

    public void setCvendorid(BaseInfoMap cvendorid) {
        this.cvendorid = cvendorid;
    }

    public BaseInfoMap getCdptid() {
        return cdptid;
    }

    public void setCdptid(BaseInfoMap cdptid) {
        this.cdptid = cdptid;
    }

    public BaseInfoMap getCbizid() {
        return cbizid;
    }

    public void setCbizid(BaseInfoMap cbizid) {
        this.cbizid = cbizid;
    }

    public BaseInfoMap getCorpoid() {
        return corpoid;
    }

    public void setCorpoid(BaseInfoMap corpoid) {
        this.corpoid = corpoid;
    }

    public BaseInfoMap getBillmaker() {
        return billmaker;
    }

    public void setBillmaker(BaseInfoMap billmaker) {
        this.billmaker = billmaker;
    }

    public BaseInfoMap getCpurorgoid() {
        return cpurorgoid;
    }

    public void setCpurorgoid(BaseInfoMap cpurorgoid) {
        this.cpurorgoid = cpurorgoid;
    }

    public BaseInfoMap getCpurorgvid() {
        return cpurorgvid;
    }

    public void setCpurorgvid(BaseInfoMap cpurorgvid) {
        this.cpurorgvid = cpurorgvid;
    }

    public BaseInfoMap getCwarehouseid() {
        return cwarehouseid;
    }

    public void setCwarehouseid(BaseInfoMap cwarehouseid) {
        this.cwarehouseid = cwarehouseid;
    }

    public BaseInfoMap getCwhsmanagerid() {
        return cwhsmanagerid;
    }

    public void setCwhsmanagerid(BaseInfoMap cwhsmanagerid) {
        this.cwhsmanagerid = cwhsmanagerid;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getIsCross() {
        return isCross;
    }

    public void setIsCross(Integer isCross) {
        this.isCross = isCross;
    }

    public String getSignatory() {
        return signatory;
    }

    public void setSignatory(String signatory) {
        this.signatory = signatory;
    }

    public String getSignatoryTime() {
        return signatoryTime;
    }

    public void setSignatoryTime(String signatoryTime) {
        this.signatoryTime = signatoryTime;
    }

    public String getVbcdef2() {
        return vbcdef2;
    }

    public void setVbcdef2(String vbcdef2) {
        this.vbcdef2 = vbcdef2;
    }

    public String getVbcdef3() {
        return vbcdef3;
    }

    public void setVbcdef3(String vbcdef3) {
        this.vbcdef3 = vbcdef3;
    }

    public String getDeleteReason() {
        return deleteReason;
    }

    public void setDeleteReason(String deleteReason) {
        this.deleteReason = deleteReason;
    }

    @Override
    public String toString() {
        return "PurchaseInboundHeadVO{" +
                "wmsTime=" + wmsTime +
                ", cgeneralhid='" + cgeneralhid + '\'' +
                ", vbillcode='" + vbillcode + '\'' +
                ", dmakedate=" + dmakedate +
                ", ctrantypeid='" + ctrantypeid + '\'' +
                ", fbillflag='" + fbillflag + '\'' +
                ", vtrantypecode='" + vtrantypecode + '\'' +
                ", fbuysellflag='" + fbuysellflag + '\'' +
                ", freplenishflag='" + freplenishflag + '\'' +
                ", ntotalnum=" + ntotalnum +
                ", creationtime=" + creationtime +
                ", modifiedTime=" + modifiedTime +
                ", vsourcebillcode='" + vsourcebillcode + '\'' +
                ", vdef5='" + vdef5 + '\'' +
                ", billsFlag='" + billsFlag + '\'' +
                ", billsState='" + billsState + '\'' +
                ", vdef49='" + vdef49 + '\'' +
                ", vdef50='" + vdef50 + '\'' +
                ", dbilldate=" + dbilldate +
                ", ntotalpiece=" + ntotalpiece +
                ", createBy='" + createBy + '\'' +
                ", createTime=" + createTime +
                ", updateBy='" + updateBy + '\'' +
                ", updateTime=" + updateTime +
                ", isCross=" + isCross +
                ", signatory='" + signatory + '\'' +
                ", signatoryTime='" + signatoryTime + '\'' +
                ", vbcdef2='" + vbcdef2 + '\'' +
                ", vbcdef3='" + vbcdef3 + '\'' +
                ", deleteReason='" + deleteReason + '\'' +
                ", creator=" + creator +
                ", modifier=" + modifier +
                ", cfanaceorgvid=" + cfanaceorgvid +
                ", cvendorid=" + cvendorid +
                ", cdptid=" + cdptid +
                ", cbizid=" + cbizid +
                ", corpoid=" + corpoid +
                ", billmaker=" + billmaker +
                ", cpurorgoid=" + cpurorgoid +
                ", cpurorgvid=" + cpurorgvid +
                ", cwarehouseid=" + cwarehouseid +
                ", cwhsmanagerid=" + cwhsmanagerid +
                '}';
    }
}